import * as types from '../constants/ActionTypes';

export const addTodo = text => ({type: types.ADD_TODO, text });
export const deleteTodo = id => ({type: types.DELETE_TODO, id })

export const setVisibilityFilter = filter => ({ type: types.SET_VISIBILITY_FILTER, filter})
